class CreateCharacters < ActiveRecord::Migration
  def self.up
    create_table :characters do |t|
      t.column :name, :string, :null => false
      t.column :character_class_id, :integer, :null => false
      t.column :active, :boolean, :default => true
    end
  end

  def self.down
    drop_table :characters
  end
end
